<nav class="navbar-default navbar-static-side" role="navigation">
    <div class="nav-close"><i class="fa fa-times-circle"></i>
    </div>
    <div class="sidebar-collapse">
        <ul class="nav" id="side-menu">
            <li class="nav-header text-center">
                <div class="dropdown profile-element">
                    <span><img alt="image" class="img-circle" src="/assets/back/img/admin_header.jpg" style="height: 100px;width: 100px"/></span>
                    <a data-toggle="dropdown" class="dropdown-toggle" href="javascript:;">
                        <span class="clear">
                            <span class="block m-t-xs"><strong class="font-bold">${current_admin.nickname!}</strong></span>
                            <span class="text-muted text-xs block">${current_admin.account!}<b class="caret"></b></span>
                        </span>
                    </a>
                    <ul class="dropdown-menu animated fadeInRight m-t-xs">
                        <li>
                            <a class="J_menuItem" href="">修改头像</a>
                        </li>
                        <li>
                            <a class="J_menuItem" href="">个人资料</a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="/b/logout">安全退出</a>
                        </li>
                    </ul>
                </div>
                <div class="logo-element">瓷禧商城</div>
            </li>
            <% for(one in menuList){ %>
            <% if(!isEmpty(one.children) ){ %>
            <li>
                <a href="/b/main">
                    <i class="fa fa-home"></i> <span class="nav-label">${one.self.name}</span> <span class="fa arrow"></span>
                </a>
                <ul class="nav nav-second-level">
                    <li>
                    <% for(two in one.children){ %>
                    <a class="J_menuItem" href="${two.url!}">${two.self.name}</a>
                    <% } %>
                    </li>
                </ul>
            </li>
            <% } %>
            <% } %>
        </ul>
    </div>
</nav>